Application of CBCT machine learning model to on-treatment imaging